package com.ssm.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HpHomeinfoExample {
    protected String orderByClause;
    
    private Integer page;
    private Integer limit;
    private String name;
    private Integer cityid;
    private Integer price;
    private Integer homeway;
    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    
    public Integer getHomeway() {
		return homeway;
	}

	public void setHomeway(Integer homeway) {
		this.homeway = homeway;
	}

	public Integer getPage() {
		return page;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	

	public Integer getCityid() {
		return cityid;
	}

	public void setCityid(Integer cityid) {
		this.cityid = cityid;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public HpHomeinfoExample(Integer page, Integer limit, String name,Integer cityid) {
		super();
		this.page = page;
		this.limit=limit;
		this.name = name;
		this.cityid=cityid;
	}

	

	public HpHomeinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    @Override
	public String toString() {
		return "HpHomeinfoExample [page=" + page + ", limit=" + limit + ", name=" + name + ", cityid=" + cityid + "]";
	}

	public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andHomeidIsNull() {
            addCriterion("homeId is null");
            return (Criteria) this;
        }

        public Criteria andHomeidIsNotNull() {
            addCriterion("homeId is not null");
            return (Criteria) this;
        }

        public Criteria andHomeidEqualTo(Integer value) {
            addCriterion("homeId =", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidNotEqualTo(Integer value) {
            addCriterion("homeId <>", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidGreaterThan(Integer value) {
            addCriterion("homeId >", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeId >=", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidLessThan(Integer value) {
            addCriterion("homeId <", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidLessThanOrEqualTo(Integer value) {
            addCriterion("homeId <=", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidIn(List<Integer> values) {
            addCriterion("homeId in", values, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidNotIn(List<Integer> values) {
            addCriterion("homeId not in", values, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidBetween(Integer value1, Integer value2) {
            addCriterion("homeId between", value1, value2, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidNotBetween(Integer value1, Integer value2) {
            addCriterion("homeId not between", value1, value2, "homeid");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andAreaIsNull() {
            addCriterion("area is null");
            return (Criteria) this;
        }

        public Criteria andAreaIsNotNull() {
            addCriterion("area is not null");
            return (Criteria) this;
        }

        public Criteria andAreaEqualTo(Double value) {
            addCriterion("area =", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotEqualTo(Double value) {
            addCriterion("area <>", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThan(Double value) {
            addCriterion("area >", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThanOrEqualTo(Double value) {
            addCriterion("area >=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThan(Double value) {
            addCriterion("area <", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThanOrEqualTo(Double value) {
            addCriterion("area <=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaIn(List<Double> values) {
            addCriterion("area in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotIn(List<Double> values) {
            addCriterion("area not in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaBetween(Double value1, Double value2) {
            addCriterion("area between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotBetween(Double value1, Double value2) {
            addCriterion("area not between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andHometypeIsNull() {
            addCriterion("homeType is null");
            return (Criteria) this;
        }

        public Criteria andHometypeIsNotNull() {
            addCriterion("homeType is not null");
            return (Criteria) this;
        }

        public Criteria andHometypeEqualTo(Integer value) {
            addCriterion("homeType =", value, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeNotEqualTo(Integer value) {
            addCriterion("homeType <>", value, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeGreaterThan(Integer value) {
            addCriterion("homeType >", value, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeType >=", value, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeLessThan(Integer value) {
            addCriterion("homeType <", value, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeLessThanOrEqualTo(Integer value) {
            addCriterion("homeType <=", value, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeIn(List<Integer> values) {
            addCriterion("homeType in", values, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeNotIn(List<Integer> values) {
            addCriterion("homeType not in", values, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeBetween(Integer value1, Integer value2) {
            addCriterion("homeType between", value1, value2, "hometype");
            return (Criteria) this;
        }

        public Criteria andHometypeNotBetween(Integer value1, Integer value2) {
            addCriterion("homeType not between", value1, value2, "hometype");
            return (Criteria) this;
        }

        public Criteria andHomewayIsNull() {
            addCriterion("homeWay is null");
            return (Criteria) this;
        }

        public Criteria andHomewayIsNotNull() {
            addCriterion("homeWay is not null");
            return (Criteria) this;
        }

        public Criteria andHomewayEqualTo(Integer value) {
            addCriterion("homeWay =", value, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayNotEqualTo(Integer value) {
            addCriterion("homeWay <>", value, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayGreaterThan(Integer value) {
            addCriterion("homeWay >", value, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeWay >=", value, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayLessThan(Integer value) {
            addCriterion("homeWay <", value, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayLessThanOrEqualTo(Integer value) {
            addCriterion("homeWay <=", value, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayIn(List<Integer> values) {
            addCriterion("homeWay in", values, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayNotIn(List<Integer> values) {
            addCriterion("homeWay not in", values, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayBetween(Integer value1, Integer value2) {
            addCriterion("homeWay between", value1, value2, "homeway");
            return (Criteria) this;
        }

        public Criteria andHomewayNotBetween(Integer value1, Integer value2) {
            addCriterion("homeWay not between", value1, value2, "homeway");
            return (Criteria) this;
        }

        public Criteria andTimewayIsNull() {
            addCriterion("timeWay is null");
            return (Criteria) this;
        }

        public Criteria andTimewayIsNotNull() {
            addCriterion("timeWay is not null");
            return (Criteria) this;
        }

        public Criteria andTimewayEqualTo(Integer value) {
            addCriterion("timeWay =", value, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayNotEqualTo(Integer value) {
            addCriterion("timeWay <>", value, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayGreaterThan(Integer value) {
            addCriterion("timeWay >", value, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayGreaterThanOrEqualTo(Integer value) {
            addCriterion("timeWay >=", value, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayLessThan(Integer value) {
            addCriterion("timeWay <", value, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayLessThanOrEqualTo(Integer value) {
            addCriterion("timeWay <=", value, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayIn(List<Integer> values) {
            addCriterion("timeWay in", values, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayNotIn(List<Integer> values) {
            addCriterion("timeWay not in", values, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayBetween(Integer value1, Integer value2) {
            addCriterion("timeWay between", value1, value2, "timeway");
            return (Criteria) this;
        }

        public Criteria andTimewayNotBetween(Integer value1, Integer value2) {
            addCriterion("timeWay not between", value1, value2, "timeway");
            return (Criteria) this;
        }

        public Criteria andCityidIsNull() {
            addCriterion("cityId is null");
            return (Criteria) this;
        }

        public Criteria andCityidIsNotNull() {
            addCriterion("cityId is not null");
            return (Criteria) this;
        }

        public Criteria andCityidEqualTo(Integer value) {
            addCriterion("cityId =", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotEqualTo(Integer value) {
            addCriterion("cityId <>", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThan(Integer value) {
            addCriterion("cityId >", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidGreaterThanOrEqualTo(Integer value) {
            addCriterion("cityId >=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThan(Integer value) {
            addCriterion("cityId <", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidLessThanOrEqualTo(Integer value) {
            addCriterion("cityId <=", value, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidIn(List<Integer> values) {
            addCriterion("cityId in", values, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotIn(List<Integer> values) {
            addCriterion("cityId not in", values, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidBetween(Integer value1, Integer value2) {
            addCriterion("cityId between", value1, value2, "cityid");
            return (Criteria) this;
        }

        public Criteria andCityidNotBetween(Integer value1, Integer value2) {
            addCriterion("cityId not between", value1, value2, "cityid");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andHomemarkIsNull() {
            addCriterion("homeMark is null");
            return (Criteria) this;
        }

        public Criteria andHomemarkIsNotNull() {
            addCriterion("homeMark is not null");
            return (Criteria) this;
        }

        public Criteria andHomemarkEqualTo(Integer value) {
            addCriterion("homeMark =", value, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkNotEqualTo(Integer value) {
            addCriterion("homeMark <>", value, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkGreaterThan(Integer value) {
            addCriterion("homeMark >", value, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeMark >=", value, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkLessThan(Integer value) {
            addCriterion("homeMark <", value, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkLessThanOrEqualTo(Integer value) {
            addCriterion("homeMark <=", value, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkIn(List<Integer> values) {
            addCriterion("homeMark in", values, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkNotIn(List<Integer> values) {
            addCriterion("homeMark not in", values, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkBetween(Integer value1, Integer value2) {
            addCriterion("homeMark between", value1, value2, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomemarkNotBetween(Integer value1, Integer value2) {
            addCriterion("homeMark not between", value1, value2, "homemark");
            return (Criteria) this;
        }

        public Criteria andHomestateIsNull() {
            addCriterion("homeState is null");
            return (Criteria) this;
        }

        public Criteria andHomestateIsNotNull() {
            addCriterion("homeState is not null");
            return (Criteria) this;
        }

        public Criteria andHomestateEqualTo(Integer value) {
            addCriterion("homeState =", value, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateNotEqualTo(Integer value) {
            addCriterion("homeState <>", value, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateGreaterThan(Integer value) {
            addCriterion("homeState >", value, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeState >=", value, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateLessThan(Integer value) {
            addCriterion("homeState <", value, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateLessThanOrEqualTo(Integer value) {
            addCriterion("homeState <=", value, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateIn(List<Integer> values) {
            addCriterion("homeState in", values, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateNotIn(List<Integer> values) {
            addCriterion("homeState not in", values, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateBetween(Integer value1, Integer value2) {
            addCriterion("homeState between", value1, value2, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomestateNotBetween(Integer value1, Integer value2) {
            addCriterion("homeState not between", value1, value2, "homestate");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentIsNull() {
            addCriterion("homeEquipment is null");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentIsNotNull() {
            addCriterion("homeEquipment is not null");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentEqualTo(String value) {
            addCriterion("homeEquipment =", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentNotEqualTo(String value) {
            addCriterion("homeEquipment <>", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentGreaterThan(String value) {
            addCriterion("homeEquipment >", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentGreaterThanOrEqualTo(String value) {
            addCriterion("homeEquipment >=", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentLessThan(String value) {
            addCriterion("homeEquipment <", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentLessThanOrEqualTo(String value) {
            addCriterion("homeEquipment <=", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentLike(String value) {
            addCriterion("homeEquipment like", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentNotLike(String value) {
            addCriterion("homeEquipment not like", value, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentIn(List<String> values) {
            addCriterion("homeEquipment in", values, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentNotIn(List<String> values) {
            addCriterion("homeEquipment not in", values, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentBetween(String value1, String value2) {
            addCriterion("homeEquipment between", value1, value2, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andHomeequipmentNotBetween(String value1, String value2) {
            addCriterion("homeEquipment not between", value1, value2, "homeequipment");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationIsNull() {
            addCriterion("trafficSituation is null");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationIsNotNull() {
            addCriterion("trafficSituation is not null");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationEqualTo(String value) {
            addCriterion("trafficSituation =", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationNotEqualTo(String value) {
            addCriterion("trafficSituation <>", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationGreaterThan(String value) {
            addCriterion("trafficSituation >", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationGreaterThanOrEqualTo(String value) {
            addCriterion("trafficSituation >=", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationLessThan(String value) {
            addCriterion("trafficSituation <", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationLessThanOrEqualTo(String value) {
            addCriterion("trafficSituation <=", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationLike(String value) {
            addCriterion("trafficSituation like", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationNotLike(String value) {
            addCriterion("trafficSituation not like", value, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationIn(List<String> values) {
            addCriterion("trafficSituation in", values, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationNotIn(List<String> values) {
            addCriterion("trafficSituation not in", values, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationBetween(String value1, String value2) {
            addCriterion("trafficSituation between", value1, value2, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andTrafficsituationNotBetween(String value1, String value2) {
            addCriterion("trafficSituation not between", value1, value2, "trafficsituation");
            return (Criteria) this;
        }

        public Criteria andCoverimgIsNull() {
            addCriterion("coverImg is null");
            return (Criteria) this;
        }

        public Criteria andCoverimgIsNotNull() {
            addCriterion("coverImg is not null");
            return (Criteria) this;
        }

        public Criteria andCoverimgEqualTo(String value) {
            addCriterion("coverImg =", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotEqualTo(String value) {
            addCriterion("coverImg <>", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgGreaterThan(String value) {
            addCriterion("coverImg >", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgGreaterThanOrEqualTo(String value) {
            addCriterion("coverImg >=", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgLessThan(String value) {
            addCriterion("coverImg <", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgLessThanOrEqualTo(String value) {
            addCriterion("coverImg <=", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgLike(String value) {
            addCriterion("coverImg like", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotLike(String value) {
            addCriterion("coverImg not like", value, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgIn(List<String> values) {
            addCriterion("coverImg in", values, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotIn(List<String> values) {
            addCriterion("coverImg not in", values, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgBetween(String value1, String value2) {
            addCriterion("coverImg between", value1, value2, "coverimg");
            return (Criteria) this;
        }

        public Criteria andCoverimgNotBetween(String value1, String value2) {
            addCriterion("coverImg not between", value1, value2, "coverimg");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andMakedateIsNull() {
            addCriterion("makeDate is null");
            return (Criteria) this;
        }

        public Criteria andMakedateIsNotNull() {
            addCriterion("makeDate is not null");
            return (Criteria) this;
        }

        public Criteria andMakedateEqualTo(Date value) {
            addCriterion("makeDate =", value, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateNotEqualTo(Date value) {
            addCriterion("makeDate <>", value, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateGreaterThan(Date value) {
            addCriterion("makeDate >", value, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateGreaterThanOrEqualTo(Date value) {
            addCriterion("makeDate >=", value, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateLessThan(Date value) {
            addCriterion("makeDate <", value, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateLessThanOrEqualTo(Date value) {
            addCriterion("makeDate <=", value, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateIn(List<Date> values) {
            addCriterion("makeDate in", values, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateNotIn(List<Date> values) {
            addCriterion("makeDate not in", values, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateBetween(Date value1, Date value2) {
            addCriterion("makeDate between", value1, value2, "makedate");
            return (Criteria) this;
        }

        public Criteria andMakedateNotBetween(Date value1, Date value2) {
            addCriterion("makeDate not between", value1, value2, "makedate");
            return (Criteria) this;
        }

        public Criteria andZuseridIsNull() {
            addCriterion("zuserId is null");
            return (Criteria) this;
        }

        public Criteria andZuseridIsNotNull() {
            addCriterion("zuserId is not null");
            return (Criteria) this;
        }

        public Criteria andZuseridEqualTo(Integer value) {
            addCriterion("zuserId =", value, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridNotEqualTo(Integer value) {
            addCriterion("zuserId <>", value, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridGreaterThan(Integer value) {
            addCriterion("zuserId >", value, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("zuserId >=", value, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridLessThan(Integer value) {
            addCriterion("zuserId <", value, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridLessThanOrEqualTo(Integer value) {
            addCriterion("zuserId <=", value, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridIn(List<Integer> values) {
            addCriterion("zuserId in", values, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridNotIn(List<Integer> values) {
            addCriterion("zuserId not in", values, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridBetween(Integer value1, Integer value2) {
            addCriterion("zuserId between", value1, value2, "zuserid");
            return (Criteria) this;
        }

        public Criteria andZuseridNotBetween(Integer value1, Integer value2) {
            addCriterion("zuserId not between", value1, value2, "zuserid");
            return (Criteria) this;
        }

        public Criteria andPaydateIsNull() {
            addCriterion("payDate is null");
            return (Criteria) this;
        }

        public Criteria andPaydateIsNotNull() {
            addCriterion("payDate is not null");
            return (Criteria) this;
        }

        public Criteria andPaydateEqualTo(Date value) {
            addCriterion("payDate =", value, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateNotEqualTo(Date value) {
            addCriterion("payDate <>", value, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateGreaterThan(Date value) {
            addCriterion("payDate >", value, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateGreaterThanOrEqualTo(Date value) {
            addCriterion("payDate >=", value, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateLessThan(Date value) {
            addCriterion("payDate <", value, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateLessThanOrEqualTo(Date value) {
            addCriterion("payDate <=", value, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateIn(List<Date> values) {
            addCriterion("payDate in", values, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateNotIn(List<Date> values) {
            addCriterion("payDate not in", values, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateBetween(Date value1, Date value2) {
            addCriterion("payDate between", value1, value2, "paydate");
            return (Criteria) this;
        }

        public Criteria andPaydateNotBetween(Date value1, Date value2) {
            addCriterion("payDate not between", value1, value2, "paydate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}